//
//  SSFirstPageTravelHotCityCell.h
//  Travel_World
//
//  Created by dlios on 15/10/14.
//  Copyright © 2015年 TLS. All rights reserved.
//

#import <UIKit/UIKit.h>

#define MINW (([UIScreen mainScreen].bounds.size.width) < ([UIScreen mainScreen].bounds.size.height) ? ([UIScreen mainScreen].bounds.size.width) : ([UIScreen mainScreen].bounds.size.height))

#define MAXH (([UIScreen mainScreen].bounds.size.width) > ([UIScreen mainScreen].bounds.size.height) ? ([UIScreen mainScreen].bounds.size.width - 64) : ([UIScreen mainScreen].bounds.size.height - 64))

#define W (MINW) / 375
#define H (MAXH + 64) / 667


@protocol SSFirstPageTravelHotCityCellDelegate <NSObject>

- (void)clickHotCityCollectionViewCellByItem:(NSInteger)item;

@end


@interface SSFirstPageTravelHotCityCell : UITableViewCell<UICollectionViewDataSource, UICollectionViewDelegate>

@property (nonatomic, strong) UICollectionView *hotCityCollectionView;
@property (nonatomic, strong) NSMutableArray *cityArr;
@property (nonatomic, strong) UICollectionViewFlowLayout *flowLayout;
@property (nonatomic, assign) id<SSFirstPageTravelHotCityCellDelegate>delegate;

@end
